package com.cn.lp.export.plugin.common;

/** 通用导出任务配置 */
public class CommonExportTask implements ExportTask {

    /** 任务id */
    private String id;

    /** 输出路径 */
    protected String outPutDirection;

    /** 源文件路径 */
    protected String sourcePath;

    /** class文件路径 */
    protected String[] classPaths;

    /** 搜索的包路径 */
    protected String[] basePackages;

    /** 依赖路径 */
    protected String[] dependencyPaths;

    /** mvel文件地址（系统路径或者ClassLoader下资源名） */
    protected String mvlPath;

    /** mvel表达式 */
    protected String mvlText;

    /** 是否打印参数 */
    protected boolean logParam;

    /** 输出文件名 */
    protected String outPutFileName;

    /** 日记等级 */
    protected String logLevel;

    /** 聚合输出 */
    protected boolean combination = true;

    public void setCombination(boolean combination) {
        this.combination = combination;
    }

    public boolean isCombination() {
        return combination;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOutPutDirection() {
        return outPutDirection;
    }

    public void setOutPutDirection(String outPutDirection) {
        this.outPutDirection = outPutDirection;
    }

    public String getSourcePath() {
        return sourcePath;
    }

    public void setSourcePath(String sourcePath) {
        this.sourcePath = sourcePath;
    }

    public String[] getClassPaths() {
        return classPaths;
    }

    public void setClassPaths(String[] classPaths) {
        this.classPaths = classPaths;
    }

    public String[] getBasePackages() {
        return basePackages;
    }

    public void setBasePackages(String[] basePackages) {
        this.basePackages = basePackages;
    }

    public String[] getDependencyPaths() {
        return dependencyPaths;
    }

    public void setDependencyPaths(String[] dependencyPaths) {
        this.dependencyPaths = dependencyPaths;
    }

    public String getMvlPath() {
        return mvlPath;
    }

    public void setMvlPath(String mvlPath) {
        this.mvlPath = mvlPath;
    }

    public String getMvlText() {
        return mvlText;
    }

    public void setMvlText(String mvlText) {
        this.mvlText = mvlText;
    }

    public boolean isLogParam() {
        return logParam;
    }

    public void setLogParam(boolean logParam) {
        this.logParam = logParam;
    }

    public String getOutPutFileName() {
        return outPutFileName;
    }

    public void setOutPutFileName(String outPutFileName) {
        this.outPutFileName = outPutFileName;
    }

    public String getLogLevel() {
        return logLevel;
    }

    public void setLogLevel(String logLevel) {
        this.logLevel = logLevel;
    }

}
